<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
<%= render(:partial => "shared/head") %>
</head>

<body>
	
<div id="container">


<%= render(:partial => "shared/header") %>


<!--header.php end-->
<!--include sidebar-->
<div id="sidebar">
<ul>
	
	<%= render(:partial => "shared/item/about",:object=>about) %>

	 <!--最新文章 -->
	<%=render :partial=>"shared/item/last_entries"%>
	
	<!--最热门文章 -->
	<%=render :partial=>"shared/item/hot_entries"%>
	
	<!--最新评论 -->
	<%=render :partial=>"shared/item/last_comments"%>

    <%=render :partial=>"shared/item/types"%>
    
    <%=render :partial=>"shared/item/hot_tags"%>
	
	<%=render :partial=>"shared/item/archives"%>
	


    <%=render :partial=>"shared/item/statistics"%>

    <%=render :partial=>"shared/item/visitors"%>

    <%=render :partial=>"shared/item/metas"%>



	


	<!--链接 -->
	<%=render :partial=>"shared/item/links"%>

    <!--版权 -->
    <%= render(:partial => "shared/copyright") %>

    <!--广告 -->
    <%= render(:partial => "shared/item/adsense") %>

</ul>
</div>

<div id="content">
<% if flash[:notice] -%>
<div id ="notice"> <%= flash[:notice] %> </div>
<% end -%>

 <%= @content_for_layout %>
</div>
	

<!--include footer-->
<%= render(:partial => "shared/footer") %>

</div>

<div style="margin: 5px; background: yellow none repeat scroll 0%; position: absolute; left: 0pt; top: 0pt; z-index: 1000; font-family: arial; font-size: 13px; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px; -moz-border-radius-bottomleft: 5px; opacity: 0.9; display: none;" id="dictdiv"></div><div id="dictaudio"></div>
</body>
</html>
